package gov.pbc.nn.kjgl.maintenance.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

/**
 * 系统相关资料（包含系统档案自身的资料和与系统档案有关的后续业务的资料）
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_SYS_MATERIAL")
public class SysMaterial extends BaseEntity {

	private static final long serialVersionUID = -4871321453155006640L;

	@Column(name = "SYS_ID_", length = 60)
	private String sysId;
	@Column(name = "SYS_NAME_", length = 120)
	@PropertyDef(label = "系统名称")
	private String sysName;
	@Column(name = "OWNER_ID_", length = 60)
	@PropertyDef(label = "所属表ID")
	private String ownerId;
	@Column(name = "FILE_NAME_", length = 120)
	@PropertyDef(label = "文件名")
	private String fileName;
	@Column(name = "PATH_")
	@PropertyDef(label = "文件路径")
	private String path;
	@Column(name = "TYPE_")
	@PropertyDef(label = "资料类型", description = "0:事件相关；1:巡检；5：问题相关；6：知识库相关；8:系统变更；10：演练报告；100：系统档案")
	private int type;

	public String getSysId() {
		return sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

	public String getSysName() {
		return sysName;
	}

	public void setSysName(String sysName) {
		this.sysName = sysName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(String ownerId) {
		this.ownerId = ownerId;
	}

}
